BIN = ProcessBarTest
SRC = $(wildcard *.c)
OBJ = $(SRC:.c=.o)

$(BIN):$(OBJ)
	@gcc -o $@ $^
	@echo "linking ... $^ to $@"
%.o:%.c
	@gcc -c $< -std=c99 -g
	@echo "compling ... $< to $@"

.PHONY:clean
clean:
	rm -f $(BIN) $(OBJ)

